package com.ruoyi.project.xkx.school.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.project.xkx.student.domain.XkxStudent;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 学生班级对象 xkx_class_student
 * 
 * @author ..
 * @date 2021-05-16
 */
public class XkxClassStudent
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Integer classStudentId;

    /** 班级id */
    private Integer classId;

    /** 学生id */
    @Excel(name = "学生id")
    private Integer studentId;

    /** 剩余课时 */
    @Excel(name = "剩余课时")
    private Integer courseHour;

    /** 学生上课状态0正常  1停课 */
    @Excel(name = "学生上课状态0正常  1停课")
    private Integer studentCode;

    /** 是否签到 */
    @Excel(name = "是否签到")
    private String attendance;

    @TableField(exist = false)
    private XkxStudent student;

    @TableField(exist = false)
    private String studentName;
    @TableField(exist = false)
    private String className;


    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    @TableField(exist=false)



    private XkxClass xkxClass;

    public XkxClass getXkxClass() {
        return xkxClass;
    }

    public void setXkxClass(XkxClass xkxClass) {
        this.xkxClass = xkxClass;
    }

    public XkxStudent getStudent() {
        return student;
    }

    public void setStudent(XkxStudent student) {
        this.student = student;
    }

    public Integer getClassStudentId() {
        return classStudentId;
    }

    public void setClassStudentId(Integer classStudentId) {
        this.classStudentId = classStudentId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Integer getCourseHour() {
        return courseHour;
    }

    public void setCourseHour(Integer courseHour) {
        this.courseHour = courseHour;
    }

    public Integer getStudentCode() {
        return studentCode;
    }

    public void setStudentCode(Integer studentCode) {
        this.studentCode = studentCode;
    }

    public String getAttendance() {
        return attendance;
    }

    public void setAttendance(String attendance) {
        this.attendance = attendance;
    }
}
